<?php

namespace Admin\Controller;

class ArticleController extends CommonController
{
    var $article;

    function __construct()
    {
        parent::__construct();

        $this->article = D('Article');
    }

    function index()
    {
        $articles = $this->article->select();

        $this->assign('articles',$articles);

        $this->display();

    }
}